]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ibusManager: Cancel the preload engines timeout on clear
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 25 Sep 2019 20:15:38 +0000 (22:15 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 2 Oct 2019 16:19:53 +0000 (18:19 +0200)
This is created when preloading but never cancelled if ibus disappears

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/743

js/misc/ibusManager.js

index 55e2fd97bda9b3ab7f7a4d785be6d8d971e8458f..e43f88c7ce22a207eda4d62a85d25329edcb6a7e 100644 (file)
@@ -77,6 +77,11 @@ var IBusManager = class {
             this._cancellable = null;
         }
 
+        if (this._preloadEnginesId) {
+            GLib.source_remove(this._preloadEnginesId);
+            this._preloadEnginesId = 0;
+        }
+
         if (this._panelService)
             this._panelService.destroy();